package com.yun.many.auth.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yun.many.auth.dao.enums.ResourceTypeEnum;
import com.yun.many.auth.dao.enums.StatusEnum;
import com.yun.many.dao.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("base_resource")
public class Resource extends BaseEntity {
    private Long pid;

    private String name;

    private String icon;

    /**
     * 资源吗
     */
    private String code;

    private String url;

    /**
     * 资源类型
     */
    private ResourceTypeEnum type;

    /**
     * 排序值
     */
    private Integer orderNum;

    private String remark;

    private StatusEnum status;
}
